//
//  CChoutiView.m
//  HCHK_iphone
//
//  Created by yilong zhang on 11-12-17.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "CDrawerView.h"

@implementation CDrawerView

@synthesize m_bIsTouchDown;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) 
    {
        // Initialization code
    }
    return self;
}

-(void)dealloc
{
    [super dealloc];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    m_bIsTouchDown = YES;
    [self.superview touchesBegan:touches withEvent:event];
}

-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
    [self.superview touchesMoved:touches withEvent:event];
}

-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    //m_bIsTouchDown = NO;
    [self.superview touchesEnded:touches withEvent:event];
}

@end
